package com.qidian.mes.md.mapper;

import com.qidian.mes.md.vo.MdDeptResourceVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: 小可怎么都睡不够
 * @Description:
 * @Time: 2024-04-11 16:02
 **/
public interface MdDeptResourcesMapper {
    List<MdDeptResourceVO> getDeptResources(@Param("idWork") Integer idWork);

    void insertDeptResources(MdDeptResourceVO mdDeptResourceVO);

    void deleteDeptResources(MdDeptResourceVO mdDeptResourceVO);

    void updateDeptResources(MdDeptResourceVO mdDeptResourceVO);

    List<MdDeptResourceVO> getDeptByName(@Param("name") String name);
}
